package airacrobats.io;

import airacrobats.io.data.SoundData;
import java.io.IOException;
import javax.sound.sampled.UnsupportedAudioFileException;

/**
 * This class load sounds.
 */
public class SoundLoader extends Loader<SoundData>
{
    /**
     */
    protected SoundData load(String file) throws UnsupportedAudioFileException, IOException
    {
        SoundData soundData = new SoundData(file);
        soundData.read();
        return soundData;
    }
}
